package com.yanqu.road.entity.manor;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/10/11 20:39
 */
public class FishSkillData extends DataObject {
    private long userId;
    private int fishId;
    private int fishSkillId;
    private int lv;
    private long curExp;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getFishId() {
        return fishId;
    }

    public void setFishId(int fishId) {
        this.fishId = fishId;
    }

    public int getFishSkillId() {
        return fishSkillId;
    }

    public void setFishSkillId(int fishSkillId) {
        this.fishSkillId = fishSkillId;
    }

    public int getLv() {
        return lv;
    }

    public void setLv(int lv) {
        if (this.lv != lv) {
            this.lv = lv;
            setUpdateOption();
        }
    }

    public long getCurExp() {
        return curExp;
    }

    public void setCurExp(long curExp) {
        if (this.curExp != curExp) {
            this.curExp = curExp;
            setUpdateOption();
        }
    }
}
